# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=deepin-polkit-agent-ext-gnomekeyring
pkgver=5.0.1
pkgrel=1
pkgdesc="GNOME keyring extension for dde-polkit-agent"
arch=('loong64' 'x86_64')
url="https://github.com/linuxdeepin/dpa-ext-gnomekeyring"
license=('GPL3')
depends=('deepin-polkit-agent' 'deepin-qt5integration' 'libgnome-keyring')
makedepends=('qt5-tools')
groups=('deepin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dpa-ext-gnomekeyring/archive/$pkgver.tar.gz")
sha512sums=('bb305cd4168a86af0323fdef4e0c65e102d3a82c6c052ed8d30679f88efd1bfc5265367e36cb9aa296833b2e715f97705863b6246a2154d17d7c7c93704b1106')

build() {
  cd dpa-ext-gnomekeyring-$pkgver

  qmake-qt5
  make
}

package() {
  cd dpa-ext-gnomekeyring-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
